WooCommerce\Square\Gateway\API\Requests\Orders S

Total Complexity 27
Dependencies 16
Dependents 1
Total lines 306
Lines of code 140
Logical lines of code 101
Comment lines 86
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
get_api_line_items()
S
54 7 18
set_create_order_data()
S
51 3 24
apply_taxes()
S
62 3 11
get_product_line_items()
S
64 3 10
get_fee_line_items()
S
64 3 10
get_shipping_line_items()
S
64 3 10
get_order_taxes()
S
60 2 13
add_discount_order_data()
S
54 1 21
add_line_item_order_data()
S
54 1 20
__construct()
S
80 1 3